<?php 
	class PointModel extends Model{
		public function __construct(){
				$this->open(Model::MYSQL);
				$this->calledClass(get_class($this));
		}
		public function findAsObject($where=array()){
			$this->open(Model::MYSQL);
			return parent::findAsObject($where);
		}
		public function update($fieleds=array(),$where=array()){
			$this->open(Model::MYSQL);
			return parent::update($fieleds,$where);
		}
		public function remove($where=array()){
			$this->open(Model::MYSQL);
			return parent::delete($where);
		}
		public function save($fields=array()){
			$this->open(Model::MYSQL);
			return parent::save($fields);
		}
	}
?>